export default {
  addHouseRenter: (data) => uni.$axios('post', '/wechatFabu/community', data),
  // 查询用户列表
  getUserList: (data) => uni.$axios('get', '/system/user/list', data),
  getList: (data) => uni.$axios('get', '/wechatFabu/community/list', data),
  getItemById: (id) => uni.$axios('get', `/wechatFabu/community/${id}`),
  updateCommunity: (data) => uni.$axios('put', `/wechatFabu/community`, data),
  // 修改用户个人信息
  updateUserProfile: (data) => uni.$axios('put', '/system/user/profile', data),
  getPhone: (data) => uni.$axios('post', '/wxapi/getPhoneNumber', data),
  // 查询登录状态
  // getLoginState: () => uni.$axios('get', '/auth/status'),
}
